import React, { Component } from 'react'
import { Button } from 'antd'
import { DownloadOutlined } from '@ant-design/icons'

export default class App extends Component {
  state = {
    size: 'large'
  }

  render() {
    const { size } = this.state
    return (
      <div>
        <Button
          type="primary"
          shape="round"
          icon={<DownloadOutlined />}
          size={size}
        >
          Download
        </Button>
      </div>
    )
  }
}
